Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct initialization in LaneCtrl #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Correct initialization in LaneCtrl #10

wants to merge 2 commits into from

Conversation

donggyukim
Copy link

This seems to be necessary.

@colinschmidt
Copy link
Contributor

How long did you hold reset? Pipelined reset in Hwacha is a bit longer than in Rocket.

@donggyukim
Copy link
Author

5 cycles. But, I believe this is due to:
https://github.com/ucb-bar/hwacha/blob/master/src/main/scala/lane-ctrl.scala#L66

If its value is greater than nSlices, it'll unexpectedly fire.

I actually got this assertion at the beginning of simulation:

Assertion failed: check sreg sched logic vqu_0
    at lane.scala:184 assert(!uop.valid || !uop.bits.sreg(i) || ctrl.io.uop.sreg(ri).valid, "check sreg sched logic "+name+"_"+i)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants